package com.itcam.kuangstudy.designmodule_.factory.method;

import com.itcam.kuangstudy.designmodule_.factory.simple.WuLing;

/**
 * Author:Cammy.Wu
 * Date:2024-05-14
 * Description:
 */

public class Cosumer {
    public static void main(String[] args) {
        Car car1 = new WuLingFactory().getCar();
        Car car2 = new TeslaFactory().getCar();

        car1.name();
        car2.name();

    }
}
